home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_34051.txt < prev    next >
Text File  |  1991-04-30  |  2KB  |  61 lines

  1. -- card: 34051 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3837
  5. -- name: ChangeFileType
  6.  
  7.  
  8. -- part contents for background part 5
  9. ----- text -----
  10. ChangeFileType
  11.  
  12. -- part contents for background part 6
  13. ----- text -----
  14. ChangeFileType lets you change the type and creator attributes of any file. 
  15.  
  16.  
  17. Other XCMDs of potential interest are FileName*, FileType*, reNameFile*, ChangeFileType*, & FileVisFlag*.
  18.  
  19.  
  20.  
  21.  
  22. --------------------------------------------
  23. Q: Who invented me?
  24. A:       Larry Wolfarth
  25.           2133 N. Lincoln St.
  26.           Arlington, VA 22207
  27.  
  28. Q: Any limitations on my use?
  29. A:  Just mention the name of my creator in a visible place if you use this XCMD for commercial purposes. [Note: My creator is not a lawyer, but my creator's wife is....]
  30.  
  31. Q: What if you don't like me?
  32. A:  You may (1) write the author & ask for the source code, (2) grumble but continue to use the XCMD as is, or (3) forget the whole thing. HOWEVER, you may NOT complain: you got what you paid for....
  33. ΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇó
  34.  
  35. ΓÇóΓÇóNote from Steve Drazga, Editor DevStack
  36. I would like to publicly thank Larry for sending in this contribution & supporting the Developer Stack.  It was especially nice the way he formatted his contribution so all I had to do was paste it into the new issue.  Way to go, Larry!
  37.  
  38.  
  39. -- part contents for background part 7
  40. ----- text -----
  41. Syntax:
  42.  
  43.  
  44. ChangeFileType(<FullPathName>, <type>,
  45. <creator>)
  46.  
  47. The result is one of the following
  48.     type of status codes:
  49.           noError
  50.           Error: [+ explanation]
  51.  
  52.  
  53.  
  54.  
  55. -- part contents for background part 10
  56. ----- text -----
  57. 33
  58.  
  59. -- part contents for background part 27
  60. ----- text -----
  61. XFCN